﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Wicresoft.SMS.Web
{
    /// <summary>
    /// 64bit authoriseflag
    /// </summary>
    public enum AuthoriseFlag : long
    {
        flag_not_define                          = 0x00000000,
        page_sms_template                   = 0x00000001,
        page_sms_send                         = 0x00000002,
        edit_home_setting_pwd             = 0x00000004,
        edit_home_setting_email            = 0x00000008,
        edit_home_setting_displayname = 0x00000010,
        list_home_setting_group            = 0x00000020,
        edit_home_setting_alias             = 0x00000040,
        page_home_setting                   = 0x00000080,
        page_addressbook                     = 0x00000100,
        link_history_editeach                 = 0x00000200,
        link_history_deleach                   = 0x00000400,
        link_history_resendeach             = 0x00000800,
        tabpage_history_viewcompany   = 0x00001000,
        tabpage_history_viewgroup        = 0x00002000,
        tabpage_history_viewself            = 0x00004000,
        page_history                               = 0x00008000,
        list_groupmanage_editgroup_groupadmin   = 0x00010000,
        list_groupmanage_editgroup_retrytime = 0x00020000,
        list_groupmanage_editgroup_priority = 0x00040000,
        edit_groupmanage_editgroup_displayname = 0x00080000,
        edit_groupmanage_editgroup_alias = 0x00100000,
        tabpage_groupmanage_editgroup = 0x00200000,
        tabpage_groupmanage_creategroup = 0x00400000,
        page_groupmanage = 0x00800000,
        link_usermanage_view_rstpwd = 0x01000000,
        link_usermanage_view_active = 0x02000000,
        tabpage_usermanage_viewgroup = 0x04000000,
        tabpage_usermanage_viewcompany = 0x08000000,
        radio_usermanage_createuser_isgroupadmin = 0x10000000,
        list_usermanage_createuser_group = 0x20000000,
        tabpage_usermanage_createuser = 0x40000000,
        page_usermanage = 0x80000000,
        page_report_user =  0x100000000,
        page_report_group = 0x200000000,
        page_report_history = 0x400000000,
        page_report_overview = 0x800000000,
        link_usermanage_view_edit = 0x1000000000
    }
}